<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:if test="${petlist!=null}">
	<c:forEach items="${petlist }" var="pet">
		${pet.title}
		${pet.price }
		<img alt="" src="upload/${pet.pics1 }">
		<img alt="" src="upload/${pet.pics2 }">
		<img alt="" src="upload/${pet.pics3 }">
	</c:forEach>
</c:if>
</body>
</html>